//使用onmessage回调函数来获取从主线程传递来的数据
onmessage = function (e) {
    var workerResult = "Result:" +e.data*5;
    postMessage(workerResult);
}